﻿using Common.Core.Extension;

namespace NetByDocker.Controllers
{
    /// <summary>
    /// Home控制器
    /// </summary>
    [Route("api/[controller]/[action]")]
    [ApiController]
    public class HomeController : ControllerBase
    {
        /// <summary>
        /// 获取时间
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string GetTime()
        {
            return DateTime.Now.ToStandardString();
        }
    }
}